|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.boaframework.OfferingStrategy
negotiator.boaframework.offeringstrategy.anac2011.IAMhaggler2011_Offering
public class IAMhaggler2011_Offering
This is the decoupled Offering Strategy for IAMhaggler2011 (ANAC2011). The code was taken from the ANAC2011 IAMhaggler2011 and adapted to work within the BOA framework. The default opponent model implementation selects the best bid for the opponent. DEFAULT OM: None Decoupling Negotiating Agents to Explore the Space of Negotiation Strategies T. Baarslag, K. Hindriks, M. Hendrikx, A. Dirkzwager, C.M. Jonker
| Field Summary | |
|---|---|
protected double |
acceptMultiplier
|
protected RandomBidCreator |
bidCreator
|
protected double |
MAXIMUM_ASPIRATION
|
protected double |
RISK_PARAMETER
|
| Fields inherited from class negotiator.boaframework.OfferingStrategy |
|---|
endNegotiation, helper, negotiationSession, nextBid, omStrategy, opponentModel |
| Constructor Summary | |
|---|---|
IAMhaggler2011_Offering()
Empty constructor for the BOA framework. |
|
| Method Summary | |
|---|---|
Bid |
chooseAction()
|
BidDetails |
determineNextBid()
Determines the next bid the agent will offer to the opponent |
BidDetails |
determineOpeningBid()
Determines the first bid to be offered by the agent |
protected Jama.Matrix |
generateRiskFunction(double riskParameter)
Generate an n-by-m matrix representing the risk based utility for a given utility-time combination. |
protected double |
generateRiskFunction(double riskParameter,
double utility)
Generate the risk based utility for a given actual utility. |
protected double |
getTarget(double opponentUtility,
double time)
Get the target at a given time, recording the opponent's utility. |
static java.lang.String |
getVersion()
Gets the version number. |
void |
init(NegotiationSession negotiationSession,
OpponentModel opponentModel,
OMStrategy omStrategy,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Initializes the offering strategy. |
protected Bid |
proposeInitialBid()
|
protected Bid |
proposeNextBid(Bid opponentBid)
|
| Methods inherited from class negotiator.boaframework.OfferingStrategy |
|---|
endSession, getHelper, getNextBid, isEndNegotiation, loadData, setNextBid, storeData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected double RISK_PARAMETER
protected RandomBidCreator bidCreator
protected double MAXIMUM_ASPIRATION
protected double acceptMultiplier
| Constructor Detail |
|---|
public IAMhaggler2011_Offering()
| Method Detail |
|---|
public void init(NegotiationSession negotiationSession,
OpponentModel opponentModel,
OMStrategy omStrategy,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
throws java.lang.Exception
OfferingStrategy
init in class OfferingStrategynegotiationSession - state of the negotiation.opponentModel - opponent model which may be used.omStrategy - opponent model strategy which may be used.parameters - optional parameters for the offering strategy.
java.lang.Exception - if the offering strategy fails to initialize.
protected Bid proposeInitialBid()
throws java.lang.Exception
java.lang.Exception
protected Bid proposeNextBid(Bid opponentBid)
throws java.lang.Exception
java.lang.Exception
protected double getTarget(double opponentUtility,
double time)
opponentUtility - The utility of the most recent offer made by the opponent.time - The current time.
protected Jama.Matrix generateRiskFunction(double riskParameter)
riskParameter - The risk parameter.
protected double generateRiskFunction(double riskParameter,
double utility)
riskParameter - The risk parameter.utility - The actual utility to calculate the risk based utility from.
public static java.lang.String getVersion()
public BidDetails determineOpeningBid()
OfferingStrategy
determineOpeningBid in class OfferingStrategypublic BidDetails determineNextBid()
OfferingStrategy
determineNextBid in class OfferingStrategypublic Bid chooseAction()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||